<?php

namespace app\admin\model;

use think\Model;


class WlDingdan extends Model
{


    protected $connection = 'whhg_db';
    

    // 表名
    protected $name = 'dingdan';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;

    // 定义时间戳字段名
    protected $createTime = false;
    protected $updateTime = false;
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];




    public function getDdType()
    {
        //订单类型:0=化工厂建,1=委派,2=物流公司自建
        return ['1' => __('Assigned'), '2' => __('Myself')];
    }







}
